﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Text;

namespace Commons
{
    class AuthFilter : IHttpModule
    {
        #region IHttpModule 成员

        public void Dispose()
        {
            //throw new NotImplementedException();
        }

        public void Init(HttpApplication context)
        {
            context.BeginRequest += new EventHandler(OnBeginRequest);
            context.EndRequest += new EventHandler(OnEndRequest);
            //throw new NotImplementedException();
        }
        public void OnBeginRequest(object sender, EventArgs e)
        {
            HttpApplication application = (HttpApplication)sender;
            HttpContext context = application.Context;
            

        }
        public void OnEndRequest(object sender, EventArgs e)
        {

        }
        #endregion
    }
}
